<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function createAnother(original) {
            //  F.prototype = o;
            var clone = Object.create(original);
            clone.sayHi = function () {
                alert('hi');
            }
            return clone;
        }

    </script>
</head>
<body>
寄生式继承
</body>
</html>